All Questions
Tagged with hyperparameterscikit-learn
13 questions
0votes
0answers
21views
Scikit Learn Random Forest Classifier Hyperparameter Min Target Sample Size
From reading the docs on Scikit Learn, I haven't been able to find an answer, but does anyone know if there is a way to specify to always include a specific number out of the max sample size of ...
-2votes
1answer
35views
Help with Classification using scikit-learn models [closed]
I'm using the Titanic data set to classify the missing Cabins. There is a lot of missing Cabin values. My objective is just to assign the letter of the Cabin without the room number. So, I'm just ...
1vote
0answers
87views
How to compare hyperparameter tuning in R and Python
I tried random forest in both R (Caret) and Python (Scikit-learn), but the results differ drastically. Pearson correlation between predicted value and actual value was 0.2 in python whereas 0.8 in R. ...
2votes
3answers
23kviews
Hyper-parameter tuning of NaiveBayes Classier
I'm fairly new to machine learning and I'm aware of the concept of hyper-parameters tuning of classifiers, and I've come across a couple of examples of this technique. However, I'm trying to use ...
1vote
1answer
78views
Two questions on hyper-parameter tuning [closed]
Question 1: In the example of logistic regression, I often see the regularization constant and penalty methods being tuned by a grid search. However, it seems like there are a lot more options for ...
11votes
2answers
2kviews
What is the most efficient method for hyperparameter optimization in scikit-learn?
An overview of the hyperparameter optimization process in scikit-learn is here. Exhaustive grid search will find the optimal set of hyperparameters for a model. The downside is that exhaustive grid ...
0votes
2answers
775views
Random Forest - Explanation Parameter
I got some question about the "standard" parameter from a random forest. Following I write my understanding about these parameters. I would be glad if I could confirm my understanding or correct it. :)...
4votes
1answer
2kviews
What does the "dual" parameter in sklearn.svm.LinearSVC and sklearn.svm.LinearSVR do?
While I am more or less familiar with the idea of the SVM, I do not understand the meaning of the dual parameter, which is described in the documentation as: ...
1vote
1answer
2kviews
Is there any alternative to L-BFGS-B algorithm for hyperparameter optimization in Scikit learn?
The Gaussian process regression can be computed in scikit learn using an object of class GaussianProcessRegressor as: ...
1vote
1answer
4kviews
Optimising Kernel parameters using training data in GaussianProcessRegressor of Scikit-learn
I want to optimize the Kernel parameters or hyper-parameters using my training data in GaussianProcessRegressor of Scikit-learn.Following is my query: My training datasets are: X: 2-D Cartesian ...
1vote
5answers
6kviews
Parameter Tuning by Cross Validation for Random Forest
I train a binary random forest classifier on scikit-learn's 20 newsgroups dataset. I want to tune the parameters and try so by gridsearch and 3-fold cross validation on the training data. Is there ...
6votes
2answers
38kviews
How to implement Python's MLPClassifier with gridsearchCV?
I am trying to implement Python's MLPClassifier with 10 fold cross-validation using gridsearchCV function. Here is a chunk of my code: ...
1vote
1answer
3kviews
Is GridSearchCV computing SVC with rbf kernel and different degrees?
I'm running a GridSearchCV with a OneVsRestClasssifer using SVC as an estimator. This is the ...